//
//  TappaySdkCommonResult.swift
//  tappay_charge
//
//  Created by Warren L on 2024/7/17.
//

struct TappaySdkCommonResult {
    var success: Bool
    var message: String?
    
    init(success: Bool, message: String? = nil) {
        self.success = success
        self.message = message
    }
    
    func toDictionary() -> [String: Any?] {
      return [
        "success": success,
        "message": message,
      ]
    }
}
